/**
 * Project Name:mauto-web
 * File Name:TechnicianBiz.java
 * Package Name:com.mingsoft.technician.biz
 * Date:2017年6月14日上午9:37:49
 * Copyright (c) 2017, inf-technology Co., Ltd. All Rights Reserved.
 *
*/

package com.inftech.mauto.jy.service;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.inftech.mauto.jy.entity.Technician;

/**
 * ClassName:TechnicianBiz <br/>
 * Function: TODO ADD FUNCTION. <br/>
 * Date: 2017年6月14日 上午9:37:49 <br/>
 * 
 * @author Administrator
 * @version
 * @since JDK 1.7
 */
public interface TechnicianService {
	public List<Technician> getTechnicianList(Map<String, Object> map);
	public int getTechnicianListCount(Map<String, Object> map);
	public void insertTechnician(Map<String, Object> map);
	public int deleteAll(List<String> list);
	public List<Technician> getTechnicianlistById(String companyId);
	public Technician getTechnicianById(String id);
	public int updateById(Map<String,Object> map);
	public int updatePWD(Map<String,Object> map);
	public int getCountByTel(String phone);
	public List<Map<String,Object>> getCountByCompanyId(List<String> List);
	public Technician getTechnicianByPhone(String phone);
	public int updateByPhone(String phone,String token);
	public int updatePwdAndTokenByphone(Map<String,Object> map);
	public int updatePwdAndTokenByToken(Map<String,Object> map);
	public String getPhoneByToken(String token);
	public int getJSIdByToken(@Param("token")String token);
}
